/*-------------------------

ersj.blog.css

--------------------------*/

/* css reset */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video
    {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

body {
    line-height: 1
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section
    {
    display: block
}

nav ul {
    list-style: none
}

blockquote,q {
    quotes: none
}

blockquote:before,blockquote:after,q:before,q:after {
    content: none
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold
}

del {
    text-decoration: line-through
}

abbr[title],dfn[title] {
    border-bottom: 1px dotted;
    cursor: help
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0
}

input,select {
    vertical-align: middle
}

/* common parts */
a {
    color: #333;
    text-decoration: none;
}
.font_alert {
    color: #559fc6;
}

.font_error,.font_warning {
    color: #ff0000;
    font-weight: bold;
}

div[class^="form-"] {
    display: block;
}

div[class^="form-"] input[type="text"],div[class^="form-"] input[type="email"],div[class^="form-"] input[type="password"]
    {
    font-size: 1em;
    height: 48px;
    padding: 0px 8px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px
        rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px
        rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px
        rgba(0, 0, 0, 0.05);
}

div[class^="form-"] textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px
        rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px
        rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px
        rgba(0, 0, 0, 0.05);
    font-size: 1em;
    padding: 0.5em;
    /*margin: 0 0 0 0;*/
}

div[class^="form-"] input[type="submit"] {
    background: #559fc6; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #559fc6 0%, #258dc8 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #559fc6),
        color-stop(100%, #258dc8) ); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg, #559fc6 0%, #258dc8 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, #559fc6 0%, #258dc8 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, #559fc6 0%, #258dc8 100%);
    /* IE10+ */
    background: linear-gradient(135deg, #559fc6 0%, #258dc8 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr='#559fc6',
        endColorstr='#258dc8', GradientType=1 );
    /* IE6-9 fallback on horizontal gradient */
    border: none;
    border-radius: 2px;
    -webkit-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.3);
    box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.3);
    color: #fff;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    margin-bottom: 1em;
    min-width: 200px;
}

button {
    background: #f1f1f1; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #f1f1f1 0%, #e5e5e5 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #f1f1f1),
        color-stop(100%, #e5e5e5) ); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg, #f1f1f1 0%, #e5e5e5 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, #f1f1f1 0%, #e5e5e5 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, #f1f1f1 0%, #e5e5e5 100%);
    /* IE10+ */
    background: linear-gradient(135deg, #f1f1f1 0%, #e5e5e5 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr='#f1f1f1',
        endColorstr='#e5e5e5', GradientType=1 );
    /* IE6-9 fallback on horizontal gradient */
    border: none;
    border-radius: 2px;
    -webkit-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.3);
    box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.3);
    color: #333;
    display: block;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    margin: 0 auto 1em auto;
    min-width: 200px;
}

/* blog */
body {
    background-color: #98FB98;
    color: #333;
    font-size: 13px;
    font-family: sans-serif;
    line-height: 1.25em
}
/*
logo
*/
#logo {
    position: absolute;
    border:1px solid black;
}
/*
*标题
*/
#mytitle {
    width: 200px;
    position: relative;
    left: 60px;
    top: 10px;
    border:1px solid black;
}
/*
*导航条整体
*/
#navi
{
    top: 25px;
    width:90%;
    height:32px;
    position: relative;
    border:1px solid black;
}
/*
*导航条零件
*/
#navi_part
{
    float: left;
    width:100px;
    height:30px;
    border:1px solid black;
}

/*
*各页面内容
*/
#content {
    background-color: #ADD8E6;
    padding: 1em;
    position: relative;
    border:1px solid black;
}



/*
*日志及评论的用户信息
*/
#user_info {
	border:1px solid black;
	width:70px;
	height:70px;
	position: absolute;
}
#user_name {
	position: relative;
	margin: auto;
	border:1px solid black;
}
#user_img {
	position: relative;
	margin: auto;
	border:1px solid black;

}

/*
*日志及评论的内容
*/
body{
	width:90%;
}

#post_link {
	width:90%;
}
#post_display {
	border:1px solid black;
	position: relative;
	width:80%;
	height:120px;
	left:70px;
}
#post_title {
	width:90%;
	border:1px solid black;
	position: relative;
	height:18px;
}
#user_post {
	position: relative;
	width:90%;
	border:1px solid yellow;
}
#created {
	width:90%;
	border:1px solid pink;
}

#user_function {
	position: absolute;
	width:90%;
	border:1px solid red;
}



#user_button1 {
	width:100px;
	height:22px;
	border:1px solid blue;
	float: left;
}

#user_button2 {
	width:100px;
	height:22px;
	border:1px solid white;
	float: left;
}






#test{
	border:1px solid black;
}






#flashMessage {
    background-color: #ffff00;
    padding: 1em;
}
#container {
    display: block;
    overflow: hidden;
    width: 100%;
}
#header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1em 1em;
}

#header h1 a {
    color: #999;
    display: inline-block;
    font-size: 1.2em;
    line-height: 1.4em;
    text-decoration: none;
}
#header h1 img {
    vertical-align: middle;
}
#header td {vertical-align:middle}

#footer {
    border-top: 1px solid #e5e5e5;
    color: #aaa;
    overflow: hidden;
    padding: 1em 1em;
}

#footer small {
    float: left;
}

ul.footer_links {
    float: right;
    list-style: none;
}

ul.footer_links li a {
    color: #666;
    text-decoration: none;
}

.cbox,.post {
    background-color: #fff;
    -webkit-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.3);
    box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.3);
    padding: 0.5em;
}

.cbox h1,.cbox h2,.cbox h3,.post h1 {
    margin-bottom: 0.5em;
    text-align: left;
}

.cbox h1:last-child,.cbox h2:last-child,.cbox h3:last-child,.post h1:last-child
    {
    margin-bottom: 0;
}

.post .date {
    color: #999;
    display: inline-block;
    margin-bottom: 0.5em;
}

.cbox,.post {
    margin-bottom: 1em;
}

.cbox:last-child,.post:last-child {
    margin-bottom: 0;
}

.post_link {
    display: block;
    text-decoration: none;
}

.blog_post_list {
    list-style: none;
    margin-bottom: 1em;
}

.blog_post_list:last-child {
    margin-bottom: 0;
}

.blog_post_list li {
    margin-bottom: 1em;
}

.blog_post_list li:last-child {
    margin-bottom: 0;
}

.blog_post_list .admin_actions {
    text-align: right;
}

ul.admin_actions {
    background-color: rgba(0,0,0,0.05);
    -webkit-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.3) inset;
    -moz-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.3) inset;
    box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.3) inset;
    list-style: none;
    margin-bottom: 1em;
    padding: 0.5em;
}
ul.admin_actions li{
    display: inline;
    padding-left:0.5em;
}
.post_action_area a,
ul.admin_actions a,
ul.admin_mid a {
    color: #427fed;
}
.comment_list {
    list-style: none;
}

.comment_list li {
    border-top: 1px solid #e5e5e5;
    padding: 1em 0;
}

.comment_list li span {
    font-weight: bold;
    margin-bottom: 0.5em;
}

.form-login,.form-post_comment,.form-post_edit {
    text-align: center;
}
/*.form-post_edit textarea
,.form-post_edit input
,.form-login input*/
div[class^="form-"] input,div[class^="form-"] textarea {
    margin: 1em 0 0 0;
}

.form-post_edit textarea {
    height: 24em;
    width: 100%;
}

.form-post_comment {
    border-top: 1px solid #e5e5e5;
    padding-top: 1em;
}

.form-post_comment textarea {
    height: 5em;
    width: 100%;
}

.pager ul {
    list-style: none;
    text-align: center;
}

.pager ul li {
    display: inline-block;
}

.pager ul li a {
    display: inline-block;
    font-size: 1.25em;
    padding: 0.5em 0;
    text-decoration: none;
    width: 36px;
    vertical-align: middle;
}

ul.admin_mid {
    background-color: rgba(0,0,0,0.05);
    -webkit-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.3) inset;
    -moz-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.3) inset;
    box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.3) inset;
    list-style: none;
    margin-bottom: 1em;
    padding: 0.5em;
    text-align: center;
}

ul.admin_actions li{
    display: inline;
    padding-left:0.5em;
}